package com.msb.order.config;

import com.msb.order.interceptor.FeignAuthRequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @program: microservices
 * @ClassName FeignConfig
 * @description:
 * @author: slfang
 * @create: 2023-12-22 17:19
 * @Version 1.0
 **/
@Configuration
public class FeignConfig {

    @Bean
    public FeignAuthRequestInterceptor feignAuthRequestInterceptor(){
        return new FeignAuthRequestInterceptor();
    }
}
